#ifndef MOSES_PARSER_H
#define MOSES_PARSER_H

extern int lines_vb;

namespace moses
{
	class Item;
	class Scanner;
	
	class Parser
	{
	public:
		Parser(Scanner &scanner);
		~Parser();
	
		Item* BuildTree();
	
	private:
		Scanner &m_scanner;
		void* m_pParser;
	};
	
	class ParseState {
	public:
		ParseState()
			: errors(0)
		{
			
			lines_vb = 1;
		}
	
		int errors;
		int lines;
		Item* pTree;
	};
}

#endif
